package com.zss.staff.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zss.pojo.vo.TbAreaVo;
import com.zss.staff.mapper.AreaMapper;
import com.zss.pojo.TbArea;
import com.zss.staff.service.AreaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper,TbArea> implements AreaService {

    @Resource
    AreaMapper areaMapper;

    @Override
    public List<TbArea> list() {
        return areaMapper.list();
    }

    @Override
    public List<TbAreaVo> selectListAll() {
        return areaMapper.selectListAll();
    }
}
